package com.domain;

import com.mysql.cj.xdevapi.JsonValue;

public class Order implements JsonValue {

    public int id;
    public String order_no;
    public  int order_status;
    public  int pay_status;
public double money;
public  String create_time;
public int user_id;

    public Order() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOrder_no() {
        return order_no;
    }

    public void setOrder_no(String order_no) {
        this.order_no = order_no;
    }

    public int getOrder_status() {
        return order_status;
    }

    public void setOrder_status(int order_status) {
        this.order_status = order_status;
    }

    public int getPay_status() {
        return pay_status;
    }

    public void setPay_status(int pay_status) {
        this.pay_status = pay_status;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public Order(int id, String order_no, int order_status, int pay_status, double money, String create_time, int user_id) {
        this.id = id;
        this.order_no = order_no;
        this.order_status = order_status;
        this.pay_status = pay_status;
        this.money = money;
        this.create_time = create_time;
        this.user_id = user_id;
    }

    /**
     * @return
     */
    @Override
    public String toFormattedString() {
        return JsonValue.super.toFormattedString();
    }
}
